//
//  YSLevelView.h
//  Yueshi
//
//  Created by Northwan on 15/9/25.
//  Copyright © 2015年 悦食中国. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef enum {
    DetailSourceType = 1,
    ReviewSourceType = 2
}LevelSourceType;


@protocol YSLevelViewDelegate <NSObject>

@optional
-(void)tapLevelCallBack:(NSInteger)score;

@end

@interface YSLevelView : UIView
@property (assign, nonatomic)NSInteger level;
@property (weak, nonatomic)id<YSLevelViewDelegate> delegate;
-(instancetype)initWithSourceType:(LevelSourceType)sourceType;
@end
